#ifndef COURIER_SAVESTG_H
#define COURIER_SAVESTG_H

#include <QWidget>
#include <QTcpSocket>
#include <socketmanager.h>
#include <telephone_number.h>
#include <QVector>
#include <QPushButton>
namespace Ui {
class Courier_savestg;
}

class Courier_savestg : public QWidget
{
    Q_OBJECT

public:
    explicit Courier_savestg(QWidget *parent = nullptr);
    ~Courier_savestg();
    void getstgstate(int *num,QString data);
    void addbottontovect();
signals:
    void finish_save();
private slots:

private:
    Ui::Courier_savestg *ui;
    QTcpSocket *socket;
    int stgstate[10];
    QString uid_stg;
//    QString ivit_stg;
    QVector<QPushButton*> buttons;
};

#endif // COURIER_SAVESTG_H
